package com.base.bean.aggregations;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 聚合统计响应结果
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AggregationRespPO {

    /**
     * 命中的总数量
     */
    private Long totalHits;

    /**
     * 聚合桶对象集合
     */
    private List<AggregationBucketPO> bucketPOList;

}
